package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.EmpExperienceDao;
import io.renren.entity.EmpExperienceEntity;
import io.renren.service.EmpExperienceService;



@Service("empExperienceService")
public class EmpExperienceServiceImpl implements EmpExperienceService {
	@Autowired
	private EmpExperienceDao empExperienceDao;
	
	@Override
	public EmpExperienceEntity queryObject(Integer id){
		return empExperienceDao.queryObject(id);
	}
	
	@Override
	public List<EmpExperienceEntity> queryList(Map<String, Object> map){
		return empExperienceDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return empExperienceDao.queryTotal(map);
	}
	
	@Override
	public void save(EmpExperienceEntity empExperience){
		empExperienceDao.save(empExperience);
	}

	@Override
	public void update(EmpExperienceEntity empExperience){
		empExperienceDao.update(empExperience);
	}
	
	@Override
	public void delete(Integer id){
		empExperienceDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		empExperienceDao.deleteBatch(ids);
	}
	
}
